<ul class="menu menu-vertical bg-base-200 w-full">
  {% for view_name, view in admin_views.items() %}
    <li>
      <a href="{{ view.get_base_route() }}" data-testid="admin-menu-{{ view_name }}">
        {{ heroicon_outline(view.icon) }}
        {% from "macros/admin_menu_badge.html" import admin_menu_badge %}
        {{ view_name }}{{ admin_menu_badge(view) }}
      </a>
    </li>
  {% endfor %}
  <li>
    <a href="{{ url_for('base.open_api') }}" target="_blank">
      <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
        <path fill="currentColor" d="M8 9H4a2 2 0 0 0-2 2v12h2v-5h4v5h2V11a2 2 0 0 0-2-2m-4 7v-5h4v5zm18-5h3v10h-3v2h8v-2h-3V11h3V9h-8zm-8 12h-2V9h6a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-4zm0-7h4v-5h-4z" />
      </svg>
      OpenAPI
    </a>
  </li>
</ul>
